<template>
    <div class="course-message">
        <h1>您选择的课程有：</h1>
        <p v-for="item of data">
            <a href=""  v-if="item.isSelected">
                {{item.teacher}}老师的{{item.course}}
            </a>
        </p>
    </div>
</template>

<script>
    export default {
        name: "CourseMessage",
        props: {
            data: Object
        }
    }
</script>

<style scoped>

</style>